#pragma once

#if _IS_UI_DESIGNED_ENABLED_

#include "IXFrame.h"

/**
 *  IXUIDrager Interface.
 *
 */
class ExportXSkinLib IXUIDrager : public IXFrame
{
    DEF_INTERFACE(IXUIDrager, _T("{E608322B-F63D-42a1-BB6C-EBE92A7F8093}"));

public:
    virtual HRESULT STDMETHODCALLTYPE put_Dragee(IN IXFrame* pUIDragee) = 0;
};


// lParam: POINT*, relative to client
#define UIDragerEvent_BeginDrag     _T("EvtUIBeginDrag")

// lParam: POINT*, relative to client
#define UIDragerEvent_MoveDrag      _T("EvtUIMoveDrag")

struct stUIDragEndInfo
{
    POINT   pt;
    BOOL    bCancel;
};
// lParam: stUIDragEndInfo*, relative to client
#define UIDragerEvent_EndDrag       _T("EvtUIEndDrag")

#endif // _ENABLE_UI_DESIGNER_